<template>
  <div class="goods">
    <good-list-itme v-for="(item,i) in goods" :key="i" :goodslistitem="item"></good-list-itme>
  </div>
</template>
<script>
import GoodListItem from "./GoodListItem";
export default {
  props: {
    goods: {
      type: Array,
      defult() {
        return [];
      },
    },
  },
  components: {
    GoodListItem,
  },
};
</script>
<style scoped>
  .goods {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    padding: 2px;
  }

</style>